package sevensoft.结构型模式.装饰模式;

import java.math.BigDecimal;


public final class Spaghetti extends Food{

    public Spaghetti() {
        super(new BigDecimal("10.00"), "意大利面");
    }

    @Override
    public BigDecimal cost() {
        return getPrice();
    }
}
